<?php

namespace App\Models\Train\TrainTripInfo\Repositories\Interfaces;

use App\Models\Train\TrainTripInfo\TrainCheckingPort;

interface TrainCheckingPortRepositoryInterface
{
    public function addPort(array $data): TrainCheckingPort;

    public function findOneByTrainAndStation(string $train_code, string $from_station_code): ?TrainCheckingPort;
}